package com.hemerasolutions.v2trainer.component.interfaces.list;

import java.util.List;

import org.primefaces.event.FileUploadEvent;

import com.hemerasolutions.v2trainer.component.interfaces.BaseComponentInterface;
import com.hemerasolutions.v2trainer.model.multimedia.Photo;



public interface PhotosListCompInterface extends BaseComponentInterface {

	public static final int EXERCISE_PHOTO = 1;

	public static final int EQUIPMENT_PHOTO = 2;

	public abstract void setPhotoType(int photoType);

	public abstract int getPhotoType();

	public abstract void setSelPhoto(Photo selPhoto);

	public abstract Photo getSelPhoto();

	public abstract void setPhotos(List<Photo> photos);

	public abstract List<Photo> getPhotos();

	public abstract void upload(FileUploadEvent ev);

	public abstract void deletePhoto();

	public abstract void addPhoto();

	public abstract void refresh();	


}
